<ion-view class="login-bg">
    <ion-header-bar class="bar bar-header login-header">
        <a class="button login-hd-btn pull-right" on-touch="go2register()">注册</a>
    </ion-header-bar>
  <ion-content scroll="false">
        <h1 class="login-logo"><img width="70" height="70" ng-src="img/login_logo.png"/></h1>
        <div><!---->
            <form class="padding" style="padding-top:0" ng-submit="userLogin()">
              <div class="list">
                  <ul>
                      <li class="item item-input login-item">
                          <div class="login-text-box">
                              <label class="login-text-padding">
                                  <input type="text" ng-model="member.username" placeholder="请输入您的手机号码">
                              </label>
                          </div>
                      </li>
                      <li class="item item-input login-item">
                          <div class="login-text-box">
                              <label class="login-text-padding">
                                  <input type="password" ng-model="member.password" placeholder="请输入您的密码">
                              </label>
                          </div>
                      </li>
                      <li class="item  login-item-txt">
                          <span class="fr"  style="padding-top:6px"  on-touch="go2lostPwd()"><a class="vertical-middle">忘记密码？</a></span>
                          <label class="checkbox">
                              <em class="login-checkbox"  ng-class="{'active': member.keepPwd}">
                                  <input ng-model="member.keepPwd" type="checkbox">
                              </em>
                              <em class="vertical-middle ml10">记住密码</em>
                          </label>
                      </li>
                  </ul>
              </div>
              <button type="submit" class="button button-full login-btn">登录</button>
            </form>
        </div>
    <!--ng-if="showPlatformState.showText"-->
        <div class="login-class">
            <h2 class="login-class-tit">第三方登录</h2>
            <div>
                <ul class="row">
                  <!--ng-if="showPlatformState.showWeChat"-->
                    <li class="col login-class-item" >
                        <a>
                            <i class="login-wechat-icon" ng-click="go2WechatLogin()"></i>
                            <em class="login-class-item-tit">微信好友</em>
                        </a>
                    </li>
                  <!--ng-if="showPlatformState.showWeiBo"-->
                    <li class="col login-class-item">
                        <a>
                            <i class="login-weibo-icon" ng-click="go2WeiBoLogin()"></i>
                            <em class="login-class-item-tit">新浪微博</em>
                        </a>
                    </li>
                  <!--ng-if="showPlatformState.showQQ"-->
                    <li class="col login-class-item">
                        <a>
                            <i class="login-qq-icon" ng-click="go2QqLogin()"></i>
                            <em class="login-class-item-tit">QQ好友</em>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </ion-content>
</ion-view>

